<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

   
</head>
<body>

     <!-- 阿里云视频播放器样式 -->
     <link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.1/skins/default/aliplayer-min.css" />
     <!-- 阿里云视频播放器脚本 -->
     <script charset="utf-8" type="text/javascript" src="https://g.alicdn.com/de/prismplayer/2.8.1/aliplayer-min.js" />

    <div class="prism-play" id="J_prismPlayer">   </div>
    <script> 
        var player = new Aliplayer({
        id: 'J_prismPlayer',
        // vid: this.vid, // 视频id
        // playauth: this.playAuth, // 播放凭证
        // encryptType: '1', // 如果播放加密视频，则需设置encryptType=1，非加密视频无需设置此项
        width: '100%',
        height: '500px',
        // 以下可选设置
        cover: 'http://guli.shop/photo/banner/1525939573202.jpg', // 封面
       
        source: 'https://outin-ed9e0dd8957211eaad0100163e1c94a4.oss-cn-shanghai.aliyuncs.com/sv/4a8b56c1-17215dc62d0/4a8b56c1-17215dc62d0.mp4?Expires=1589735466&OSSAccessKeyId=LTAIwkKSLcUfI2u4&Signature=yNsbyfbLNbQifddyKp%2BtBMj2jqc%3D',
        
        // mediaType: 'video', // 返回音频还是视频
      autoplay: false, // 自动播放
        // isLive: false, // 直播
        // rePlay: false, // 循环播放
        // preload: true,
        // controlBarVisibility: 'hover', // 控制条的显示方式：鼠标悬停
        // useH5Prism: true, // 播放器类型：html5
    }, function(player) {
        console.log('播放器创建成功')
    })   ; 
        
    </script>
</body>
</html>